API Client
-
Entry point into the Swift API.
See moreDeclaration
Swift
@objcMembers public class Client : AbstractClient
-
A proxy to an Algolia index.
Note
You cannot construct this class directly. Please useClient.index(withName:)
to obtain an instance.Declaration
Swift
@objcMembers public class Index : NSObject, Searchable
-
Describes all parameters of a search query.
There are two ways to access parameters:
- Using the high-level, typed properties for individual parameters (recommended).
- Using the low-level, untyped accessors
parameter(withName:)
andsetParameter(withName:to:)
or (better) the subscript operator. Use this approach if the parameter you wish to set is not supported by this class.
Warning
All parameters are optional. When a parameter isnil
, the API applies a default value.Declaration
Swift
@objc open class Query : AbstractQuery
-
Iterator to browse all index content.
This helper takes care of chaining API requests and calling back the completion handler with the results, until:
- the end of the index has been reached;
- an error has been encountered;
- or the user cancelled the iteration.
Declaration
Swift
@objcMembers public class BrowseIterator : NSObject